package com.aube.mis.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.aube.api.v2.service.upload.UploadVoV2Service;
import com.aube.mis.service.AbstractService;
import com.aube.mis.service.CommonService;
import com.aube.support.ResultCode;
import com.aube.vo.upload.UploadOSSVo;

@Service
public class CommonServiceImpl extends AbstractService implements CommonService {
	@Resource
	private UploadVoV2Service uploadVoV2Service;

	public UploadOSSVo uploadPicPolicy(String showid, String filename, String filetag) {
		ResultCode<UploadOSSVo> result = uploadVoV2Service.uploadPicPolicy(showid, filename, filetag);
		return result.getRetval();
	}
}
